package cn.learn.domain.strategy.service;

import cn.learn.domain.strategy.model.entity.RaffleAwardEntity;
import cn.learn.domain.strategy.model.entity.RaffleFactoryEntity;

/**
 * @author Sun
 * @Desc 抽奖策略接口
 * @date 2024-10-28-9:52
 */

public interface IRaffleStrategy {

    /**
     *  执行抽奖；用抽奖因子入参，执行抽奖计算，返回奖品信息
     * @param raffleFactoryEntity
     * @return
     */
    RaffleAwardEntity performRaffle(RaffleFactoryEntity raffleFactoryEntity);

}
